<?php
// +----------------------------------------------------------------------
// | 规格类模型
// +----------------------------------------------------------------------
// | 2020-4-10
// +----------------------------------------------------------------------
// | Author: 周`
// +----------------------------------------------------------------------

namespace app\common\model\mall;

use app\common\model\TimeModel;

class ItemSpec extends TimeModel
{
    protected $deleteTime = 'delete_time';
    protected $pk = 'spec_id';
    //规格值列表
    public function SpecValue()
    {
        return $this->hasMany('app\common\model\mall\ItemSpecValue','spec_id','spec_id');
    }
}
